package sy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.dao.IotEntranceURIDaoI;
import sy.dao.IotVideoURIDaoI;
import sy.model.IotEntranceURI;
import sy.model.IotVideoURI;
import sy.model.IotVideoURIProjectMapping;
import sy.service.IotEntranceURIServiceI;
import sy.service.IotVideoURIServiceI;
@Service("iotVideoURIService")
public class IotVideoURIServiceImpl implements IotVideoURIServiceI{
	@Autowired
	IotVideoURIDaoI iotVideoURIDao;

	@Override
	public void save(IotVideoURI iotVideoURI){
		// TODO Auto-generated method stub
		iotVideoURIDao.save(iotVideoURI);
	}

	@Override
	public void update(IotVideoURI iotVideoURI) {
		// TODO Auto-generated method stub
		iotVideoURIDao.update(iotVideoURI);
	}

	@Override
	public void delete(List<Integer> ids) {
		// TODO Auto-generated method stub
		iotVideoURIDao.delete(ids);
	}

	@Override
	public List<IotVideoURI> list() {
		// TODO Auto-generated method stub
		return iotVideoURIDao.list();
	}

	@Override
	public List<IotVideoURI> listIotVideoURIByKey(String key) {
		// TODO Auto-generated method stub
		return iotVideoURIDao.listIotVideoURIByKey(key);
	}

	@Override
	public IotVideoURI getIotVideoURIById(Integer id) {
		// TODO Auto-generated method stub
		return iotVideoURIDao.getIotVideoURIById(id);
	}
}
